class StudentMiniJson {
  StudentMiniJson({
    this.firstName,
    this.lastName,
    this.userName,
  });

  String? firstName;
  String? lastName;
  String? userName;

  factory StudentMiniJson.fromJson(Map<String, dynamic> json) =>
      StudentMiniJson(
        firstName: json["firstName"],
        lastName: json["lastName"],
        userName: json["userName"],
      );

  Map<String, dynamic> toJson() => {
        "firstName": firstName,
        "lastName": lastName,
        "userName": userName,
      };
}
